<?php
/**
* @package		Mod_Accordionmenu
* @copyright	Copyright (C) 2008 James Frank
* @license		GNU/GPL

* This file was modified from the main Joomla mod_mainmenu file
* It is released under the same license

*/

// no direct access
defined('_JEXEC') or die('Restricted access');

// Include the syndicate functions only once
require_once (dirname(__FILE__).DS.'helper.php');

$params->def('menutype', 			'accordionmenu');
$params->def('class_sfx', 			'');
$params->def('expand_img',			'');
$params->def('collapse_img',		'');
$params->def('hover_time',			200);
$params->def('duration_time',		400);
$params->def('activate_hovering',	1);
$params->def('show_images',			0);
$params->def('startLevel', 			0);
$params->def('endLevel', 			0);

require(JModuleHelper::getLayoutPath('mod_accordionmenu'));

$document =& JFactory::getDocument();
JHTML::script('accordionmenu.js', 'modules/mod_accordionmenu/assets/', true);